<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>天天互保-个人中心</title>
<meta name="keywords" content="天天互保"> 
<meta name="description" content="天天互保"> 
<meta name="format-detection" content="telephone=no" />
<meta content="width=device-width, initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0,user-scalable=no" name="viewport">
<script src="../js/jquery.min.js"></script>
<link rel="stylesheet" href="__CSS__/style.css">
<link rel="stylesheet" href="__CSS__/index.css">
<link rel="stylesheet" href="__CSS__/admin.css">
<script type="text/javascript">
	$(function(){
		$("#updateimg").click(function(){
			$("#file").click();
			/*$("#file").bind("change",function () {
				uploadPhoto();
			});*/
		});
	})
</script>
</head>
<body>
<form action="#">
	<ul class="uslist font14">
		<li class="updates" id="updateimg">
			<p>头像:</p>
			<if condition="$Uarr['tsrc'] neq '' "> <div class="inputs"><img src="{$Uarr['tsrc']}" class="defimg"/></div>   <else /> 
			<div class="inputs"><img src="__IMG__/defaultimg.png" class="defimg"/></div>
			</if>
			
			<h2><img src="__IMG__/more.png"/></h2>
		</li>
		<input type="file" value="" id="file" name="file" style="display:none;"/>
		<li class="updates" >
			<p>昵称:</p>
			<if condition="$Uarr['username'] neq '' "> <div class="inputs" onclick="window.location.href='{:U('Member/upname')}'">{$Uarr.username}</div> <else /> 
			<div class="inputs">微信名</div>
			</if>
			<h2><img src="__IMG__/more.png"/></h2>
		</li>
		<li class="updates nobor_bottom" onclick="window.location.href='{:U('Member/sex')}'"> 
			<p>性别:</p>
			<div class="inputs">
			<if condition="$Uarr.sex eq 1 ">男<else /> 女</if></div>
			<h2><img src="__IMG__/more.png"/></h2>
		</li>
	</ul>
	<ul class="uslist font14">
		<li class="updates">
			<p><img class="ico2" src="__IMG__/center_phone.png"/></p>
			<div class="inputs">手机号<span>{$Uarr.tel}</span></div>
			<h2><img src="__IMG__/more.png"/></h2>
		</li>
		<li class="update s nobor_bottom" >
			<p><img class="ico2" src="__IMG__/center_rz.png"/></p>
			<div class="inputs">认证状态<if condition="$Uarr.userid neq '' "><span class="renz2">已认证</span><else /><span class="renz1" onclick="window.location.href='{:U('Member/UserCard')}'">未认证</span></if></div>
		</li>
	</ul>
	<input type="submit" value="退出登录" class="submits font14 top15">
</form>

</body>
</html>